package com.ruubypay.biz.mvc.workflow.model.response;

import java.util.Date;

/**
 * 运行中的流程查询相关变量返回定义类
 * @author chenhaiyang
 */
public class RuntimeProcessResponse {

    /**
     * 流程定义Name
     */
    private String name;
    /**
     * 流程执行Id
     */
    private String excuseId;
    /**
     * 是否挂起状态
     */
    private Boolean isSuspended;
    /**
     * 流程实例Id
     */
    private String processInstanceId;
    /**
     * 流程发起人
     */
    private String startUser;
    /**
     * 流程发起时间
     */
    private Date startTime;
    /**
     * 当前任务的流程处理者或者候选人
     */
    private String assignee;
    /**
     * 任务名称
     */
    private String taskName;
    /**
     * 业务字段
     */
    private String businessKey;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExcuseId() {
        return excuseId;
    }

    public void setExcuseId(String excuseId) {
        this.excuseId = excuseId;
    }

    public Boolean getSuspended() {
        return isSuspended;
    }

    public void setSuspended(Boolean suspended) {
        isSuspended = suspended;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getStartUser() {
        return startUser;
    }

    public void setStartUser(String startUser) {
        this.startUser = startUser;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getBusinessKey() {
        return businessKey;
    }

    public void setBusinessKey(String businessKey) {
        this.businessKey = businessKey;
    }

    @Override
    public String toString() {
        return "RuntimeProcessResponse{" +
                "name='" + name + '\'' +
                ", excuseId='" + excuseId + '\'' +
                ", isSuspended=" + isSuspended +
                ", processInstanceId='" + processInstanceId + '\'' +
                ", startUser='" + startUser + '\'' +
                ", startTime=" + startTime +
                ", assignee='" + assignee + '\'' +
                ", taskName='" + taskName + '\'' +
                ", businessKey='" + businessKey + '\'' +
                '}';
    }
}
